import request from '@/utils/request'

// 获取用户列表
export function getUserList(params) {
  return request({
    url: '/user/getUserListByCondition',
    method: 'post',
    data: params
  })
}

// 删除用户
export function removeUserById(id) {
  return request({
    url: '/user/removeUserById',
    method: 'post',
    data: { id }
  })
}